#include <stdio.h>
#include <memory.h>
#include <stdlib.h>
#include <stdbool.h>

#ifndef ADDRESS_ADDRESS_H
#define ADDRESS_ADDRESS_H

#define MAX_NAME_LEN 32
#define MAX_PHONE_LEN 32

typedef struct contact {
    char name[MAX_NAME_LEN];
    char phone[MAX_PHONE_LEN];
    struct contact *next;
} Node, *LinkList;

static void printHelp();
int Menu(LinkList head);
int Init(LinkList *head);
int New(LinkList head);
int Remove();
int Update(LinkList head);
int Load();
int Search(LinkList head);
int Save();
int List(LinkList head);

#endif //ADDRESS_ADDRESS_H
